package chapter67;

public class MobilePhone {
	public String brand;
	public MobilePhone(){
		this.brand = "诺基亚";
	}
	
	public MobilePhone(String bra){
		this.brand = bra;
	}
	
	public String buy(){
		return "没发工资，每一个"+brand+"牌子的手机吧！";
	}
	
	public String buy(String reason){
		return reason+",快买一个"+brand+"牌子的手机吧！";
	}
	
	public static void main(String[] args) {
		MobilePhone mp = new MobilePhone();
		mp.brand="苹果";
		String detail = mp.buy("发工资啦！");
		System.out.println(detail);
	}
}
